﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
using ERP.MasterData.Dtos;
using Volo.Abp.Application.Dtos;

namespace ERP.MasterData
{
    public interface ICustomerManagementService : IApplicationService
    {
        /// <summary>
        /// 添加客户
        /// </summary>
        Task<CustomerManagementDto> CreateAsync(CustomerManagementDto input);

        /// <summary>
        /// 修改客户
        /// </summary>
        Task<CustomerManagementDto> UpdateAsync(int id, CustomerManagementDto input);

        /// <summary>
        /// 删除客户
        /// </summary>
        Task DeleteAsync(int id);

        /// <summary>
        /// 批量删除客户
        /// </summary>
        Task BatchDeleteAsync(List<int> ids);
    }
}
